import React from 'react'
import Context from '../05-UseContextDemo/context'
import { useContext } from 'react'

export default function GrandSon () {
  const obj = useContext(Context)
  return (
    <div>
      GrandSon——{obj.money}
      <p onClick={() => obj.callback(22222)}>改值</p>
    </div>
  )
}
